package com.envy.product.enums;

import lombok.Getter;

/**
 * 商品状态
 **/
@Getter
public enum ProductStatusEnum {
    UP(0, "正常"),
    DOWN(1, "下架");

    private Integer code;
    private String message;

    // 构造方法
    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
